import { LangStore } from "~/stores/modules/lang"

export default defineNuxtRouteMiddleware(async(to, from)=>{
    const { setReqHeader } = LangStore()
    if(process.server) {
        let reqHeader = useRequestHeaders()
        setReqHeader(reqHeader)
    }
})